package com.threeox.commonlibrary.entity;

import com.threeox.ormlibrary.annotation.create.Column;
import com.threeox.ormlibrary.annotation.create.Primary;
import com.threeox.ormlibrary.annotation.create.Table;
import com.threeox.ormlibrary.entity.BaseORM;
import com.threeox.ormlibrary.entity.ColumnType;

/**
 *
 * @ClassName: EngineModelMessage
 *
 * @Description: Todo(引擎模型的独享)
 *
 * @author 赵屈犇
 *
 * @date 创建时间:2018/2/25 下午1:21
 * 
 * @version 1.0
 */
public class EngineModelMessage extends BaseORM {

    @Primary
    private Integer engineId;
    @Column(isNotNull = true, isUnique = true)
    private String engineName;
    @Column(isNotNull = true, columnType = ColumnType.TEXT)
    private String engineData;
    @Column(isNotNull = true)
    private Integer versionCode;
    @Column(isNotNull = true, defaultVal = "true")
    private boolean enable;

    public Integer getEngineId() {
        return engineId;
    }

    public void setEngineId(Integer engineId) {
        this.engineId = engineId;
    }

    public String getEngineName() {
        return engineName;
    }

    public void setEngineName(String engineName) {
        this.engineName = engineName;
    }

    public String getEngineData() {
        return engineData;
    }

    public void setEngineData(String engineData) {
        this.engineData = engineData;
    }

    public Integer getVersionCode() {
        return versionCode;
    }

    public void setVersionCode(Integer versionCode) {
        this.versionCode = versionCode;
    }

    public boolean isEnable() {
        return enable;
    }

    public void setEnable(boolean enable) {
        this.enable = enable;
    }
}
